Yes.
Class FileWriter is used for output of character data to a disk file. Here is where it is in the hierarchy of Writer classes:
The arrows in this diagram show inheritance.
A FileWriter
is a kind of OutputStreamWriter
,
which is a kind of Writer
, which is a kind of Object
.
When you read Java documentation,
you might need to look at several ancestors of a class you are interested in.
Say that you want the processing that OutputStreamWriter
performs.
Will you get this with a FileWriter
?